Adwaita: Fix menu separators
authorMatthias Clasen <mclasen@redhat.com>
Mon, 2 Nov 2015 17:21:39 +0000 (12:21 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 2 Nov 2015 17:21:39 +0000 (12:21 -0500)
These were inadvertedly broken by the element name conversion
for regular separators.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 07cf27eb5e2bba7f7258eb7dbecce9d3e048335f..51285519999749fd9f8318a78a4ef9003a78c948 100644 (file)
@@ -954,7 +954,7 @@ GtkComboBox {
     color: $backdrop_insensitive_color;
   }
   .menuitem { text-shadow: none; }
-  & separator.vertical {
+  &.separator.vertical {
     // always disable separators
     -GtkWidget-wide-separators: true;
   }
@@ -2512,6 +2512,7 @@ GtkScrolledWindow {
 }
 
 //vbox and hbox separators
+.menuitem.separator,
 separator {
   // always disable separators
   // -GtkWidget-wide-separators: true;
index b112a08d9c8c70ef46f311d8346ff3b2716c26e7..0ea7a2b22c200cb58f18d1f562f7bd1a11d404da 100644 (file)
@@ -1467,7 +1467,7 @@ GtkComboBox {
     color: #5d6767; }
   GtkComboBox .menuitem {
     text-shadow: none; }
-  GtkComboBox separator.vertical {
+  GtkComboBox.separator.vertical {
     -GtkWidget-wide-separators: true; }
   GtkComboBox.combobox-entry entry:dir(ltr), GtkComboBox.combobox-entry spinbutton:dir(ltr) {
     border-top-right-radius: 0;
@@ -3498,9 +3498,12 @@ frame,
 GtkScrolledWindow viewport.frame {
   border-style: none; }
 
+.menuitem.separator,
 separator {
   color: rgba(0, 0, 0, 0.1); }
-  GtkFileChooserButton separator.vertical, button.font separator.vertical {
+  GtkFileChooserButton .menuitem.separator.vertical, button.font .menuitem.separator.vertical, GtkFileChooserButton
+  separator.vertical, button.font
+  separator.vertical {
     -GtkWidget-wide-separators: true; }
 
 /*********
index 26a8e6500885633a8364a7256a52c62898e8998a..25f373327c7ea630e2fb35de86c8a5d9c49fdaa2 100644 (file)
@@ -1467,7 +1467,7 @@ GtkComboBox {
     color: #c7c7c7; }
   GtkComboBox .menuitem {
     text-shadow: none; }
-  GtkComboBox separator.vertical {
+  GtkComboBox.separator.vertical {
     -GtkWidget-wide-separators: true; }
   GtkComboBox.combobox-entry entry:dir(ltr), GtkComboBox.combobox-entry spinbutton:dir(ltr) {
     border-top-right-radius: 0;
@@ -3660,9 +3660,12 @@ frame,
 GtkScrolledWindow viewport.frame {
   border-style: none; }
 
+.menuitem.separator,
 separator {
   color: rgba(0, 0, 0, 0.1); }
-  GtkFileChooserButton separator.vertical, button.font separator.vertical {
+  GtkFileChooserButton .menuitem.separator.vertical, button.font .menuitem.separator.vertical, GtkFileChooserButton
+  separator.vertical, button.font
+  separator.vertical {
     -GtkWidget-wide-separators: true; }
 
 /*********